<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2021/12/14
  Time: 10:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<el-card>
    <el-menu
            :default-active="'<%=request.getParameter("index")==null?1:request.getParameter("index")%>'"
            class="el-menu-demo"
            mode="horizontal"
    >
        <el-menu-item index="0" onClick="location.assign('${pageContext.request.contextPath}/center/')">
            <el-icon>
                <i class="fa fa-home"></i>
            </el-icon>
            <span>首页</span>
        </el-menu-item>
        <el-menu-item index="1" onClick="location.assign('${pageContext.request.contextPath}/admin/')">
            <el-icon>
                <i class="fa fa-cog"></i>
            </el-icon>
            <span>站点设置</span>
        </el-menu-item>
        <el-menu-item index="managerUsers"
                      onClick="location.assign('${pageContext.request.contextPath}/admin/?index=managerUsers')">
            <el-icon>
                <i class="fa fa-users"></i>
            </el-icon>
            <span>用户管理</span>
        </el-menu-item>
        <el-menu-item index="managerCreditCard"
                      onClick="location.assign('${pageContext.request.contextPath}/admin/?index=managerCreditCard')">
            <el-icon>
                <i class="fa fa-credit-card"></i>
            </el-icon>
            <span>信用卡管理</span>
        </el-menu-item>
        <el-menu-item index="manageBank"
                      onClick="location.assign('${pageContext.request.contextPath}/admin/?index=manageBank')">
            <el-icon>
                <i class="fa fa-bank"></i>
            </el-icon>
            <span>银行名称</span>
        </el-menu-item>
    </el-menu>
</el-card>
<link rel="stylesheet" href="${pageContext.request.contextPath}/css/admin/adminNav.css"/>